﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/TemplateAdmin.Master" AutoEventWireup="true" 
CodeBehind="ChinhSuaTaiKhoan.aspx.cs" Inherits="GreenLife.Admin.ChinhSuaTaiKhoan" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <form id="Form1" runat="server">
    <table width="150px">
        <thead>
            <tr>
                <td width="100px"> 
                </td>
                <td width="350px">
                </td>
                <td width="350px">
                </td>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>
                    UserName:
                </td>
                <td>
                    <asp:Label ID="txtUser" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Password:
                </td>
                <td>
                    <asp:TextBox TextMode="Password" ID="txtPass" TextMode="Password" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Required!"
                        ControlToValidate="txtPass">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Status:
                </td>
                <td>
                    <asp:TextBox ID="txtStatus" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="btnUpdate" runat="server" Text="Update" 
                        onclick="btnUpdate_Click" />
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Required!"
                        ControlToValidate="txtStatus">
                    </asp:RequiredFieldValidator>&nbsp;
                    <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtStatus"
                        MaximumValue="3" MinimumValue="1" Type="Integer" ErrorMessage="Status có giá trị từ 1-3" />
                </td>
            </tr>
        </tbody>
    </table>
    </form>

</asp:Content>
